<?php
?>
<html>
<body>
<div>会员中心</div>
<?php if($login): ?>
    <div><?php echo $userinfo['username'];?>您好，欢迎来到会员中心。<a href="?action=logout">退出</a> </div>
<?php else: ?>
    <div>您还未登录，请先<a href="login.php">登录</a>或<a href="../user/register_html.php">注册新用户</a>。</div>
<?php endif;?>
</body>
</html>
